#ifndef COMMANDENTERED_H
#define COMMANDENTERED_H
//
#include <QUndoCommand>
#include <QLineEdit>
//
class CommandEntered : public QUndoCommand
{
Q_OBJECT
	public:
		CommandEntered(QString C,QString PC,QLineEdit *CommandEdit);
		virtual void undo();
		virtual void redo();
	
	private:
		QString Com;
		QString PrevCom;
		QLineEdit *L;
	
};
#endif
